cmake_minimum_required(VERSION 3.28)
project(demo1 C)

set(CMAKE_C_STANDARD 11)

include_directories(Core/Inc)
include_directories(Drivers/CMSIS)
include_directories(Drivers/CMSIS/Device)
include_directories(Drivers/CMSIS/Device/ST)
include_directories(Drivers/CMSIS/Device/ST/STM32F1xx)
include_directories(Drivers/CMSIS/Device/ST/STM32F1xx/Include)
include_directories(Drivers/CMSIS/Include)
include_directories(Drivers/STM32F1xx_HAL_Driver/Inc)
include_directories(Drivers/STM32F1xx_HAL_Driver/Inc/Legacy)
include_directories(Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS)
include_directories(Middlewares/Third_Party/FreeRTOS/Source/include)
include_directories(Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3)

add_executable(demo1
        Core/Inc/FreeRTOSConfig.h
        Core/Inc/gpio.h
        Core/Inc/main.h
        Core/Inc/stm32f1xx_hal_conf.h
        Core/Inc/stm32f1xx_it.h
        Core/Inc/tim.h
        Core/Src/freertos.c
        Core/Src/gpio.c
        Core/Src/main.c
        Core/Src/stm32f1xx_hal_msp.c
        Core/Src/stm32f1xx_hal_timebase_tim.c
        Core/Src/stm32f1xx_it.c
        Core/Src/system_stm32f1xx.c
        Core/Src/tim.c
        Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xb.h
        Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h
        Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h
        Drivers/CMSIS/Include/cmsis_armcc.h
        Drivers/CMSIS/Include/cmsis_armclang.h
        Drivers/CMSIS/Include/cmsis_compiler.h
        Drivers/CMSIS/Include/cmsis_gcc.h
        Drivers/CMSIS/Include/cmsis_iccarm.h
        Drivers/CMSIS/Include/cmsis_version.h
        Drivers/CMSIS/Include/core_armv8mbl.h
        Drivers/CMSIS/Include/core_armv8mml.h
        Drivers/CMSIS/Include/core_cm0.h
        Drivers/CMSIS/Include/core_cm0plus.h
        Drivers/CMSIS/Include/core_cm1.h
        Drivers/CMSIS/Include/core_cm23.h
        Drivers/CMSIS/Include/core_cm3.h
        Drivers/CMSIS/Include/core_cm33.h
        Drivers/CMSIS/Include/core_cm4.h
        Drivers/CMSIS/Include/core_cm7.h
        Drivers/CMSIS/Include/core_sc000.h
        Drivers/CMSIS/Include/core_sc300.h
        Drivers/CMSIS/Include/mpu_armv7.h
        Drivers/CMSIS/Include/mpu_armv8.h
        Drivers/CMSIS/Include/tz_context.h
        Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h
        Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h
        Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h
        Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h
        Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h
        Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h
        Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h
        Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h
        Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h
        Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h
        Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h
        Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h
        Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h
        Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h
        Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h
        Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h
        Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h
        Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_cortex.h
        Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_dma.h
        Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_exti.h
        Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h
        Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_pwr.h
        Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h
        Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_system.h
        Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_tim.h
        Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_utils.h
        Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c
        Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c
        Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c
        Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c
        Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c
        Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c
        Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c
        Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c
        Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c
        Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c
        Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c
        Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c
        Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c
        Core/Src/utils.c
        Core/Src/utils.h
        Core/Src/NeonEffectTask.c
        Core/Src/NeonEffectTask.h
        Core/Src/usart.c
        Core/Src/UltrasonicTask.h
        Core/Src/UltrasonicTask.c
        Core/Src/BluetoothTask.h
        Core/Src/BluetoothTask.c
        Core/Src/CarMovementTask.h
        Core/Src/CarMovementTask.c
        Core/Src/GlobalVars.h
        Core/Src/GlobalVars.c
        Core/Src/hc_sr04.h
        Core/Src/hc_sr04.c
        Core/Src/CarControlTask.h
        Core/Src/CarControlTask.c
        Core/Src/BeepTask.h
        Core/Src/BeepTask.c
        Core/Src/SensorDataTask.h
        Core/Src/SensorDataTask.c
        Core/Src/ADCTask.h
        Core/Src/ADCTask.c
        Core/Src/ADCTask.c
        Core/Src/ADCTask.h
        Core/Src/FireSensorTask.h
        Core/Src/FireSensorTask.c
        Core/Src/CarControlTask.h.wei
        Core/Src/CarControlTask.c.wei
)
